package com.openweixin.sheknows.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 实体类-
 * @注意事项  无
 * @author 刘思作
 * @version 1.0.0 2014-04-02
 * @since 1.0.0
 */

@Entity
@Table(name = "score_log")
public class ScoreLog{


	private Integer aid;//
	private Integer qid;//
	private Integer uid;//回答人id
	private String author;//回答人名称
	private String useip;//
	private String reason;//原因，预留
	private Boolean score;//评分
	private Integer scoreuid;//评分人
	private String scoreauthor;//评价人名称
	private java.sql.Timestamp datetime;//

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="aid") 
	public Integer getAid(){
		return this.aid;
	}

	public void setAid(Integer aid){
		this.aid=aid;
	}

	@Column(name="qid") 
	public Integer getQid(){
		return this.qid;
	}

	public void setQid(Integer qid){
		this.qid=qid;
	}

	@Column(name="uid") 
	public Integer getUid(){
		return this.uid;
	}

	public void setUid(Integer uid){
		this.uid=uid;
	}

	@Column(name="author") 
	public String getAuthor(){
		return this.author;
	}

	public void setAuthor(String author){
		this.author=author;
	}

	@Column(name="useip") 
	public String getUseip(){
		return this.useip;
	}

	public void setUseip(String useip){
		this.useip=useip;
	}

	@Column(name="reason") 
	public String getReason(){
		return this.reason;
	}

	public void setReason(String reason){
		this.reason=reason;
	}

	@Column(name="score") 
	public Boolean isScore(){
		return this.score;
	}

	public void setScore(Boolean score){
		this.score=score;
	}

	@Column(name="scoreuid") 
	public Integer getScoreuid(){
		return this.scoreuid;
	}

	public void setScoreuid(Integer scoreuid){
		this.scoreuid=scoreuid;
	}

	@Column(name="scoreauthor") 
	public String getScoreauthor(){
		return this.scoreauthor;
	}

	public void setScoreauthor(String scoreauthor){
		this.scoreauthor=scoreauthor;
	}

	@Column(name="datetime") 
	public java.sql.Timestamp getDatetime(){
		return this.datetime;
	}

	public void setDatetime(java.sql.Timestamp datetime){
		this.datetime=datetime;
	}

}